package collections;

import java.util.Collections;
import java.util.Set;
import utils.Log;

import java.util.HashMap;
import java.util.Map;

public class MapTest {
    public static void main(String[] args) throws Exception {
        Map<String, String> headers = new HashMap<>();

        headers.put("1", "shane");
        headers.put("2", "lxxgreat");
        Log.vn("headers:" + headers.toString());

        Map<String, String> headers2 = new HashMap<>();

        headers2.put("1", "风润");
        headers2.put("2", "lxxgreat2");
        headers2.put("3", "pdd");
        headers.putAll(headers2);
        Log.vn("headers:" + headers.toString());


        Set set = Collections.EMPTY_SET;
        set.add(1);
        set.add("2");
        Log.vn("set:" + set);
    }

}
